﻿<?
	@session_start();
		if(!isset($_SESSION["canAccess"]) || $_SESSION["canAccess"] != 'true')
		{
			echo '<script type="text/javascript"> window.location="index.php"; </script>';
		}
	@require_once("services/Utility.php");
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title>Profile</title>

<link rel="stylesheet" href="style/main.css" type="text/css" media="screen" />
<link rel="stylesheet" href="style/icons.css" type="text/css" media="screen" />
<link rel="stylesheet" href="style/search.css" type="text/css" media="screen" />

<script type="text/javascript" src="script/lazySearch.js"></script>
<script type="text/javascript" src="script/paging.js"></script>
<script type="text/javascript" src="script/jquery-1.7.1.min.js"></script>

<!-- Dialog -->
<link rel="stylesheet" href="style/messi.min.css" />
<script src="script/messi.js"></script>

    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
	
</head>
<body>
<div id="art-page-background-simple-gradient">
    </div>
    <div id="art-page-background-glare">
        <div id="art-page-background-glare-image"></div>
    </div>
    <div id="art-main">
        <div class="art-Sheet">
            <div class="art-Sheet-tl"></div>
            <div class="art-Sheet-tr"></div>
            <div class="art-Sheet-bl"></div>
            <div class="art-Sheet-br"></div>
            <div class="art-Sheet-tc"></div>
            <div class="art-Sheet-bc"></div>
            <div class="art-Sheet-cl"></div>
            <div class="art-Sheet-cr"></div>
            <div class="art-Sheet-cc"></div>
            <div class="art-Sheet-body">
                <div class="art-Header">
                    <div class="art-Header-jpeg"></div>
                </div>
                <!--div class="art-nav">
                	<ul class="art-menu">
                		<li>
                			<a href="search.php" target="mainFrame"><span class="l"></span><span class="r"></span><span class="t">Search</span></a>
                		</li>
                		<li>
                			<a href="createProfile.php" target="mainFrame"><span class="l"></span><span class="r"></span><span class="t">Create Profile</span></a>
                		</li>
                	</ul>
                </div-->
                <div class="art-contentLayout" style="height: 1000px !important;">
                    <div class="art-content">
                        <div class="art-Post">
						
						<!-- Begin Content -->
						
						
<div>
<? @require_once("component/Menu.php"); ?>
</div>
<div class="SearchSep"></div>
<div class="listbox">
	<div class="SearchBox">
		<div class="SearchContent">			
			<select id="By" class="FilterWidthS">
				<option value="Name">ชื่อ</option>
			</select>
			
			<input type="text" id="key" />
			
			<a href="javascript:void(0);" onclick="SearchProfile();">
				<div class="SearchIcon icon-search"></div>
			</a>
			
		</div>
		<div id="record" class="pageInfo">0-0 of 0</div>
		<div id="prev" class="pagePrevious icon-prev-disable" onclick="PrevPage();"></div>
		<div id="page" class="pageIndex">1</div>
		<div id="next" class="pageNext icon-next" onclick="NextPage();"></div>
		
	</div>
	<div class="profilelist">
	<ul class="profilelist" id="profilelist"> </ul>
	</div>
</div>
						
						<!-- End of Content -->
						
                        </div>
                    </div>
                </div>
        		<div class="cleared"></div>
            </div>
        </div>
        <div class="cleared"></div>
    </div>
    
</body>
</html>